#ifndef _LOAD_H__
#define _LOAD_H__

//append truncate merge
#include "pubfunc.h"
#include "tablemapping.h"
#include <string>
using namespace std;

class Load
{
public:
	Load(TableMapping &tableMapping, Oracle::Connection &connection);
	virtual ~Load();
	
	virtual int load();
	
private:
	virtual int createSql() = 0;
	
protected:
	TableMapping &tableMapping;
	Oracle::Connection &connection;
	string sql;
};

#endif
